<?php
/**
 *
 * $Id: default.php 1.0.0 2012-05-02 06:19:50 Intelygenz $
 * @package	    Intelygenz 
 * @subpackage	Casos
 * @version     1.0.0
 * @description Casos de éxito.
 * @copyright	  Copyright © 2012 - All rights reserved.
 * @license		  GNU General Public License v2.0
 * @author		  Intelygenz
 * @author mail	informacion@intelygenz.com
 * @website		  www.intelygenz.com
 *
 */

// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
$doc =& JFactory::getDocument();
$doc->addStyleSheet ( 'modules/mod_casos/css/casosexito.css' );

?>
<!-- START Casos MODULE -->
<ul class="casosexito<?php echo $moduleclass_sfx; ?>">
     <!-- Your custom code here -->

	<?php foreach ($list as $i => $item) : ?>
		<li class="row<?php echo $i % 2; ?>">

			<a href="<?php echo JRoute::_('index.php?option=com_igzclientes&view=caso&id='.$item->id);?>">
				<div class="casoimg">
					<?php 
					$im = strip_tags($item->imagen,'<img>');					
					echo $im;
					?>
				</div>
				<div class="casotitulo">
					<?php echo $item->titulo; ?>
				</div>
			</a>
	
		</li>
	<?php endforeach; ?>

</ul>
<!-- END Casos MODULE -->




	
	